fixes #5 parse inline styles into a #js map