Adding Mocha tests, fixing documentation and support for maximizing browsers

Adding Mocha tests, fixing documentation and support for maximizing browsers