Removing Java dependency

Finally a non Java solution! Should work with the latest version of Firefox.