fixed issues with data
php page ready
fix javascript