js library to automate home