Attempting to load javascript clientside