Only results table is now returned through ajax after search

make search a lot less laggy and doesnt screw up after refreshing
resources