resolved in js
resolved in php
updated