Added prompt on JS and varible use on PHP