Added 'hexed' plugin function to js file