Adds basic ajax js structure