Fix JSHint warnings
Fix select

Fixes #23