Rename .js sources.
Add js lib dependencies.