support placeholder attribute on older browsers

fixes #527