added angular gem and everything is working, have yet to remove the random js code