trying to get onclick event to work in test.js