Map: moved js-scripts out to separate file.