wrap chosen calls in if to stop js error
bugfix-chosen-js merged into origin/bugs; resolves #9