added new client script to register DOM elements