Fix require js dependency issue