Have you tried Aptana (http://www.aptana.com/)?. It's a full-fledged Web Development IDE. The JS Editor is especially good and allows for referenced js code lookups from inside html files. It's also available as a regular eclipse add-on.
Probably will need to buy pro as the sftp feature is disabled in the community version.