more php & js code prettification