Added support for JS assets versioning

resolves #13