reviewed js code
review PHP code