And I changed the java script built action to embedded resource. However, it is still not working. I do not have an assembyinfo.cs and I don't have the sitefinity web application set up. Is there another way to do it or does someone know how to access/create the file without using sitefinity web application.
You need to change the AssemblyInfo ="..." info to match the correct name of the class you're embedding the js file into.
You can also refer to the .JS file as a non embedded resource file, you can find more info here.