Added soe basic js to allow for a dropdown template