Removed jquery dependancy

Gone for pure javascript - just not sure if browser compatibility and
performance will be an issue