DNN-4951 fix typo
DNN-4952 Add tests for registering JavaScript libraries