Blank page fix (javascript loop removed) (closes #33)

In some cases, while cycle turns into infinite loop and freezes browser.
Since I've removed few lines, everything works fine now.

(I've also updated `cache/base.js` by running the script `js/index.php`)

See #33