Create wordmeaning.js

The main Javascript file which does lots of stuff (will update later....yeah right!)