Add javascript export of project for npm.