Moved to readyselector to scope javascripts to pages