fixed parseInt bug in FF, added explicit base10 radix