add asset loading methods to media
jquery file uploader script