fixed js reload after requirejs build