fixed js error from missing js file