Cleans up init.js dependencies.