made attribute js parsing 1e9 times faster