added streamlined js loader