Minor cleanup of JavaScript support.
Support for Vala.