Why is my javascript not being executed?
You don't attach your to your form:

$form['#attached']['library'][] = 'module_name/library_name';


Just a suggestion: 

In your library yml it's unnecessary to append your module name to your library name.