Fixed a potential path issue
Added use strict to all JS files