npm for mo

@petecooper the version of the library was quite out dated but the npm package does not contain minified files so I am not sure if we should npm'ise it at all. 

Do you think we should minify files automatically if they are not present?