still trying to get javascript to load without refreshing page