PhantomJS script to automate Application Cache manifest file generation