reconfigured javascript test setup