Try to fix jquery script definitions