Uncaught SyntaxError: Unexpected token <
There are many resasons why the above error happens. One of them I have encountered personally which is wrong path for your javascript files.
In general external recources are kept in the public/js folder.
If you are html file is refering the wrong path, then it can not find the js resources. In that case you see the error
Uncaught SyntaxError: Unexpected token <
So check the path for your js resources and error should be gone
1. Check the path of your javascript file
2. Write the correct path and reload your application