v3.0.0 Tests

- Added author and license information to javascript header.
- Changed  javascript testing method from ok() to more appropriate
equal().
- Added tests for autocomplete.