Split javascript from index page into aquarius.js