adding ajax and finalizing load screen