adding bootstrap attributes and cleanup