Integrated javascript into project