Add js method extract attributes from element
Merge remote-tracking branch 'origin/master'