JavaScript file for grove dry reed relay