Fixing registerScripts() paths