Added html5shiv.js if lt IE9
Added modernizr
only type=url when it's supported, added todo
Checked all php security options and removes some little bugs