Chrome JavaScript not working, refreshing, or loading