Javascript input widgets

Adds javascript input widgets