Added style and image for loading placeholders
Added js method for generating unique element ids