Learning js for various applications