Color, bug fixes and multi-browser

Font sizes work better now and works way better with firefox.
Also added color option and fixed both scaling calculations(in certain
cases they would return undefined or the wrong value).