Refreshing javascript good parts in automated fashion :)