Update applet.js

Fixed so that it works with cinnamon