Namespaced Insert JavaScript and add Block code