Added firefox support

Currently quiet laggy probely becuse of raphael-min.js libary.
Merge pull request #2 from Fr0sZ/master

Added firefox support