Main JavaScript

Signed-off-by: ahomiya.com <me@ahomiya.com>