Working with the assets pipeline for javascript