test/index.html: minor JS improvements.

Remove unused variables, keep style consistent.
bower.json: sort ignores by name.
Update package.json.

Specify the files when installing.