load JS before content