try hook_library_info() for .js as per block module