calcilator in php and javascript