Removed jQuery dependence; specify secret in constructor

Fixes issue #2