Changing to google apis, and refactoring some code (as much as possible in css, etc)

Not fully tested, be careful.