Moved js to the right position