fix #1315 preserve amabuild in URL on test.htm

If someone opens a page `test.htm?amabuild=true` and types the classpath, the amabuild param
is not preserved. This commit fixes that issue.

(note that launching `test.htm?amabuild=true` makes sense only on deploy destination, not through the git repo folder - otherwise there's no 1.1-SNAPSHOT file available and page load breaks)