add html js prototypes