Fixed bug in Easy AI
And some minor changes: Added functions in Utilities, moved script tags within index.html