for nested attributes js, view level changes and comments added