position of js was weird