contractor js