Add an option on the Advanced settings tab to include the plugin's javascript on the footer instead of header.
Removed complex and error prone logic to detect if the theme has footer.