Added firefox support

Currently quiet laggy probely becuse of raphael-min.js libary.