Javascript Using Variable Asphericity