Long Polling & View Script revised

need:
-styling