Restructure event script, namespace under iReader, separate css from popup view