Easy and invisible JavaScript models