Fixing require js error