cleaned up animations, added parsing url in jquery