Move less javascript to root document