Fix model loading for JS compiler
update "by" annotation