First pass at a Mac OS X/Linux build script

Instead of the manual step of saving changes in Firefox we now use
Phantomjs to automate the process