javascript semi working; script showing up at least