Make more parameters available through html'

Now you can specify:
* The size (in vh, vw, vmin or vmax)
* Number of unlock dots
* The style
* "submit" method

Also remove some logs fix some jslint error use a custom tag instead
of the <input>.
Make sure the code is not empty before calling submit

Also use 'submit' as the default submit method.