Another js fix (URL).
New SQL queries.