adding some javascript sugar :D