switching to php, getting mobile ready