js riper for css and img