update element tests
TST: move figure test to core
TST: add axes & coordinates tests
BUG: minor JS fixes to axes and element
TST: add JS element test
Merge pull request #132 from jakevdp/jstests

WIP: Improve javascript test coverage