Expose asset_path helper to JavaScript

Have a look at gon gem. Haven’t used it but it should do the job.