Expose js variables for testing