adding index, options page, moving js to own file