migrate images loader to phetcommon