Feature/get value get attribute

Fix #46 and getValue() method (it was a problems in Opera).