updated localize script

removed separated script for placeholder detection on browser that don't
support placeholder attribute and added it to localize script.