Fixed js scripts not being loaded properly

Basically just treated them as HTML imports