fixing HacKs and turn fake GET to jQuery Ajax