rewrite a lot code, fix ajax in openshift, without highlight