fix test.js vars and style