try loading all js at end of body - directly