Bugfix/use asset pipeline to determine media element js path