Actually fixed Javascript Issue

I don't even know