Messed up sync

positioning messed up and jQuery not working