Create pageaction.js