moving required javascript files into asset pipeline