Corrected the order in wich the javascripts are imported