#id to reference. ShowLoader option

Updated to pass a reference to the container div instead of the id and
re-selecting. My code uses dynamic containers and using a reference
integrates cleaner.

My code uses a separate loading animation so added an option to show
the loader which I can disable