Removing innerHTML dependency, for security reasons
Updating version no
Block display had to be explicitly set for correct rendering