Major changes php/js/style