Removed lodash depedency and split HalJS into seperate file

Signed-off-by: Jesse Dijkstra <jesse@blendle.nl>