Condensing JS into the right plugins and decencies