Remove unused function.
Remove stray destroy function (duplicate of UserRecord)
Replace link_to_function with plain jquery.

Should use UJS but too much effort for now and current goal is removing
prototype and link_to_function.
Remove irrlevant comment.
Use image_size gem again.