Fixing missing options.html issue

This fix comes from issue #34 due to PR #14.
"options.html" was created to factorize code from widget.html and ajax_widget.html in zalew repository, but some code there has not been committed (changes in widget.html too).
As I have not tested zalew branch, I prefer PR a fix for this bug now. Some factorization can be done later.