Attach library to the template instead of the module preprocess to prevent multiple unavs