missing javascript prototypes