Fixing javascript asset load bug.