Move set innerhtml to jquery