Issue #1888744 by nick_schuch: Fixed text.module missing text_library_info() - does not explicitly declare js dependencies.

PR for https://drupal.org/node/1888744