Added chaning browser window and changed phpdocs