red marker view on edit/add site click
Move js function from index.php to separate files