Update to enhance the original

It is a quick update to expose more features of the original forked project, add new features like range checking, and make it compatible with bootstrap 3.2.  This also solves a couple of issues found in the original.  Changes need revision as they were a quick and dirty update.