Declared missing var
Fixed some HTML in tests
Fixed major bug in bucket function
1.1.1