Update element.js

add '.' to the end of this line (180) .