add js calc post