Move custom JS to frontmatter