Fixed issue that caused javascript to be included twice.