support for javascript and php